<?php
// 应用公共文件
function responseJson($code,$msg,$data = []){
    $result = [
        'code'      => $code,
        'message'   => $msg,
        'data'      => $data
    ];
    return Json($result);
}